<div bindonce class="panel panel-default searchPage mb5" ng-style="{'margin-left':parent.treeSetting.w}" id="{{__searchId}}">
	<!-- 翻页、查询表单-begin -->
	<div class="panel-heading">
		<div ng-include="parent.searchBtnToolsHtml" class="inline-block"></div>
		<a href="javascript:void(0)" class="pull-right" ng-click="switchSearch()" ng-show="conditions.length>0">
			<i class="fa fa-angle-double-up"></i>
		</a>
	</div>
	<form class="form-inline panel-body pt0 pb5 search-form" ng-show="!hideSearch&&conditions.length>0" id="searchForm">
		<div class="search-cnd pr">
			<div class="form-group {{(f.colCls)}} mt5 bc-white lh34 h40 fn" ng-repeat="f in conditions  track by $index | orderBy : 'sn'" ng-if="!f.hidden" style="white-space: nowrap;">
				<label class="pt5 cell-nowarp overflow-eps fl pr10 lh24"> {{f.desc}}:</label>
				<span bo-switch="f.ctltype" class="inline-block col-lg-8 col-xs-7 col-md-7  col-sm-7 pl0 fn lh24">
					<div bo-switch-when="1" class="inline-block">
						<input type="text" class="form-control col-lg-8 col-xs-7 col-md-7 col-sm-7 {{f.wcls}} animated-w" ng-model="f.v" ng-keyup="doSearch($event)" ng-disabled="f.disabled" ng-focus="focus(f,f.betweenCondition)" ng-blur="blur(f)" />
						<span bo-if="f.hasBetween" class="fl lh34 pl5 pr5">-</span>
						<span bo-if="f.hasBetween" class="inline-block w-s-n">
							<input type="text" class="form-control col-lg-8 col-xs-7 col-md-7  col-sm-7 fs12 {{f.betweenCondition.wcls}} animated-w" ng-focus="focus(f.betweenCondition,f)" ng-blur="blur(f)" ng-model="f.betweenCondition.val" ng-keyup="doSearch($event)" ng-disabled="f.disabled" />
						</span>
					</div>
					<!-- 时间选择器  begin -->
					<div bo-switch-when="3" class="inline-block" ng-class="{wd300:f.hasBetween&&f.focus,wd220:!(f.hasBetween&&f.focus)}">
						<input id="date_{{f.name}}" class="form-control input-group date fl {{f.wcls}} animated-w" ng-model="f.v" ab-date dateFormat="{{f.json}}" val="f.v" ng-disabled="f.disabled" ng-focus="focus(f,f.betweenCondition)" ng-blur="blur(f)">
						<label class="input-group-addon search-time-btn f-n wd40 pointer" ng-show="!f.hasBetween" style="height: 34.2px;" for="date_{{f.name}}">
							<span class="glyphicon glyphicon-calendar datepickerbutton"></span>
						</label>
						<span class="fl lh34 pl5 pr5" bo-show="f.hasBetween">-</span>
						<span bo-show="f.hasBetween">
							<input class="form-control col-lg-8 col-xs-7 col-md-7  col-sm-7 fs12 datepickerbutton {{f.betweenCondition.wcls}} animated-w" ng-model="f.betweenCondition.val" ab-date dateFormat="{{f.json}}" val="f.v" ng-disabled="f.disabled" ng-focus="focus(f.betweenCondition,f)" ng-blur="blur(f)" ng-disabled="f.disabled">
						</span>
					</div>
					<!-- 时间选择器  end -->
					<!-- 下拉框  begin -->
					<div bo-switch-when="4" class="inline-block">
						<select class="form-control col-lg-8 col-xs-7 col-md-7  col-sm-7 " ng-model="f.v" ng-disabled="f.disabled" ng-options="k as v for (k,v) in f.json" ng-keyup="doSearch($event)" bo-class="{'wd90 fs12':f.hasBetween,wd180:!f.hasBetween}">
							<option value="">请选择</option>
						</select>
						<span ng-if="f.hasBetween">
							<span class="fl lh34 pl5 pr5">-</span>
							<select class="form-control  col-lg-8 col-xs-7 col-md-7  col-sm-7 wd90 fs12" ng-model="f.betweenCondition.val" ng-disabled="f.disabled" ng-options="k as v for (k,v) in f.json" ng-keyup="doSearch($event)">
								<option value="">请选择</option>
							</select>
						</span>
					</div>
					<!-- 下拉框  end -->
					<!-- 单选框组  begin -->
					<div bo-switch-when="6" class="inline-block">
						<check-radio json="f.json" val="f.v" bo-style="{display:'inline-block','max-width':'100%'}" read="f.disabled"></check-radio>
					</div>
					<!-- 单选框组  end -->
					<!-- 复选框组  begin -->
					<div bo-switch-when="8" class="inline-block">
						<check-box json="f.json" val="f.v" bo-style="{display:'inline-block','max-width':'100%'}" read="f.disabled"></check-box>
					</div>
					<!-- 复选框组  end -->
					<!-- 数据字典  begin -->
					<div bo-switch-when="5" class="inline-block">
						<check-dic key="f.json" val="f.v" read="f.disabled"></check-dic>
					</div>
					<!-- 数据字典  end -->
					<!-- [字典]单选框 begin -->
					<div bo-switch-when="7" class="miwd80">
						<check-radio cat="{{f.json}}" val="f.v" read="f.disabled" json="f.json"></check-radio>
					</div>
					<!-- [字典]单选框 end -->
					<!-- [字典]复选框  begin -->
					<div bo-switch-when="9" class="miwd80">
						<check-box cat="{{f.json}}" val="f.v" read="f.disabled" json="f.json"></check-box>
					</div>
					<!-- [字典]复选框  end -->
					<ng-fn-model ng-if="f.canWatch" val="f.v" the-data="theData" type="f.type" fields="item.f" fn="{target:theData,key:f.k,exp:base.excuExp(theData,f.operExp,f.operType),watch:f.watch}"></ng-fn-model>
				</span>
			</div>
			<div class="form-group  mt5 bc-white lh34 h40" ng-show="conditions.length>0">
				<button type="button" class="btn btn-primary" ng-click="searchFn()">查询</button>
				<button type="button" class="btn btn-default" ng-click="resetFn()">重置</button>
				<!--<div ng-include="parent.searchBtnToolsHtml" class="inline-block"></div>-->
				<!--<a href="javascript:void(0)" class="pull-right" ng-click="switchSearch()" ng-show="conditions.length>0">-->
					<!--<i class="fa fa-angle-double-up"></i>-->
				<!--</a>-->
			</div>
			<!--<div class="panel-heading">-->
				<!---->
			<!--</div>-->
		</div>
	</form>
</div>